var writePageFooter = function(){
console.log("writePageFooter");

 var newHtml = '<div class="lrtlines" align="center">';
	newHtml += '<div class="bottomCopy" id="bottomCopy" align="center">'; 
	if (prodId != ""){
		newHtml +='<table cellspacing="5" cellpadding="0" border="0">';
		newHtml += '<tr>';
		newHtml += '<td align="center"><a class="smlred">Print Page</a></td>';
		newHtml += '</tr>';
		newHtml += '</table>';
	}	
	newHtml += '<table cellspacing="5" cellpadding="0" border="0">';
	newHtml += '<tr> ';
	newHtml += '<td align="center" class="sml"> ';
	newHtml += '<p>NOTE: By viewing this site you have read and agreed to the <a href="' + siteId + '/disclaimer.html?siteId=' + siteId + '">DISCLAIMER<br>';
	newHtml += '</a> - See <a href="' + siteId + '/legal.html?siteId=' + siteId + '">legal</a> or <a href="privacy.html?siteId=' + siteId + '">privacy</a> ';
	newHtml += 'section for your security and rights information -<br>';
	newHtml += '<img id="copyImg" src="../image/000/' + siteId + '/copyright.gif"> </p>';
	newHtml += '</td>';
	newHtml += '</tr>';
	newHtml += '</table>';
	newHtml += '</div>';
	newHtml += '</div>';
	newHtml += '<div align="center"><img src="../image/000/bottom_cap2.gif" class="bottomCap" alt="" width="32" height="32"></div>';
	
	dojo.byId("footer").innerHTML =  newHtml;
	

}


